# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Deleting field 'Album.covert_art'
        db.delete_column(u'mokitech_album', 'covert_art')

        # Adding field 'Album.cover_art'
        db.add_column(u'mokitech_album', 'cover_art',
                      self.gf('django.db.models.fields.URLField')(default='http://', max_length=200),
                      keep_default=False)


    def backwards(self, orm):
        # Adding field 'Album.covert_art'
        db.add_column(u'mokitech_album', 'covert_art',
                      self.gf('django.db.models.fields.URLField')(default='remove', max_length=200),
                      keep_default=False)

        # Deleting field 'Album.cover_art'
        db.delete_column(u'mokitech_album', 'cover_art')


    models = {
        u'mokitech.album': {
            'Meta': {'object_name': 'Album'},
            'artist': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['mokitech.Artist']"}),
            'cover_art': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
            'date': ('django.db.models.fields.DateField', [], {}),
            'genre': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'link': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'price': ('django.db.models.fields.DecimalField', [], {'max_digits': '10', 'decimal_places': '2'})
        },
        u'mokitech.artist': {
            'Meta': {'object_name': 'Artist'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'link': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'})
        }
    }

    complete_apps = ['mokitech']